#[root@myhost vscode]# vim mydiv.py
try:
    num = int(input('Number:'))
    result = 100 / num
except (ValueError,ZeroDivisionError) as e:
    print('无效输入',e)
except (KeyboardInterrupt,EOFError):
    print('\nBye-bye')
else: 
    print(result)
finally:
    print('Done')
